﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;

namespace Smtp_server
{
    public class Email
    {
        public String To;
        public String From;
        public String Cc;
        public String Subject;
        public String BodyText;
        public String Received;

        public String ToString() 
        {
            return
                "From : <" + From + ">\r\n" +
                "Received : "+ Received +"\r\n"+
                "To : <" + To + ">\r\n" +
                "Cc : <" + Cc + ">\r\n" +
                "Subject : " + Subject + "\r\n" +
                BodyText;
        }
    }
}
